package org.edu.modules.oa.vo;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
//数据表名
@TableName("ve_oa_yinzhang_log")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "公共印章使用记录导出对象", description = "公共印章使用记录查询")
public class VeOaYinzhangLogVo {

    //主键id
    @Excel(name = "序号",width = 15)
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;

    //使用人账号
    @Excel(name = "使用人账号",width = 15)
    @ApiModelProperty(value = "使用人账号")
    @TableField(value = "UserID")
    private String userId;

    //使用人姓名
    @Excel(name = "使用人姓名",width = 15)
    @ApiModelProperty(value = "使用人姓名")
    @TableField(value = "UserName")
    private String userName;

    //使用时间
    @Excel(name = "使用时间", width = 15)
    @ApiModelProperty(value = "使用时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    //印章使用详细
    @Excel(name = "印章使用详细",width = 15)
    @ApiModelProperty(value = "印章使用详细")
    @TableField(value = "DoSomething")
    private String doSomething;

    //印章使用者的IP地址
    @Excel(name = "印章使用者的IP地址",width = 15)
    @ApiModelProperty(value = "印章使用者的IP地址")
    @TableField(value = "IpStr")
    private String ipStr;

    /**印章类别 */
    @Excel(name = "印章类型", width = 15)
    @ApiModelProperty(value = "印章类型")
    @TableField(value = "typeStr")
    private String typeStr;

    //终端ID
    @ApiModelProperty(value = "终端ID")
    @TableField(value = "terminalId")
    private String terminalId;

    //逻辑删除
    @ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;


}
